@font-face{
    font-family: W02;
    src: url("@/assets/font/TsangerYuYangT_W02_W02.ttf");
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: W02;
}

body{
    background-color: white;
}
header{
    z-index: 2;
    background-color: #ffffff;
}
li{
    list-style: none;
}
a{
    text-decoration: none;
    color: rgb(255, 66, 66);
}
.nav-bar{
    position: relative;
    
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px 15px 25px;
}
.nav-menu {
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 45px;
}
.nav-branding{
    font-size: 2rem;
    z-index: 100;
}
.nav-link{
    transition: 0.7s;
}
.nav-link:hover{
    color: #f2462b;
}
.hamburger{
    
    cursor: pointer;
    display: none;
   
}
.bar{
   
    display: block;
    background-color: rgb(255, 66, 66);
    width: 25px;
    height: 3px;
    margin: 5px;
    transition:all 0.3s ease-in-out;
}
.nav-bar img{
    z-index: 1;
    width: 45px;
    height: 45px;
}
@media screen and (max-width:768px) {
    .seize{
        display: block;
    }
    header{
        display: fixed;
    }
    .hamburger{
       
        z-index: 2;
        display: block;
    }
    .hamburger.active .bar:nth-child(2){
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }
    .nav-menu{
        opacity: 0%;
        z-index: 1;
        background-color: white;
        position: absolute;
        top:-500px;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap:0;
        transition:all .5s ease;
    }
    .nav-item{
        margin: 16px;
    }
    .nav-item a:hover{
        color: #f39a5a;
    }
    .nav-menu.active{
        opacity: 100%;
        top: 83px;
    }
    .nav-down{
       
        width: 200px;
    }
}
#search{
    z-index: 3;
    display: flex;
    width: 200px;
    height: 30px;
    /* border-radius: 10px; */
    border:1px solid #febcb1;
    transition: all 0.3s ease;
    margin-right: 0px;
}
#search:focus {
    box-shadow: #f2462b;
    width: 300px;
   

    /* border:1px solid #febcb1; */
    /* border: 1px solid #ddd; */
    outline: none; 
   
}
.search{
    display: flex;
}
.seize{
    display: none;
}
.nav-down{
    display: flex;
    width: 80%;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}